﻿using System;
using System.ComponentModel;
using IssueVision.EntityModel;

namespace IssueVision.Common
{
    public interface IPasswordResetModel : INotifyPropertyChanged
    {
        void GetPasswordQuestionByUserNameAsync(string userName);
        event EventHandler<ResultArgs<string>> GetPasswordQuestionCompleted;
        void ResetPasswordAsync(PasswordResetUser user);
        event EventHandler<AsyncCompletedEventArgs> ResetPasswordCompleted;

        Boolean IsBusy { get; }
    }
}
